package core.communication.message;

public class VerifyNonresidentVoterConfirmationMessage extends VerifyNonresidentVoterMessage {
	private static final long serialVersionUID = -840399821418852937L;

	private Boolean voterVerified;

	public VerifyNonresidentVoterConfirmationMessage(VerifyNonresidentVoterMessage msg, Boolean voterVerified) {
		super(msg.getElectionIdentificationField(), msg.getVoterIdentificationField(), null);
		setDirection(Direction.DOWN);
		this.voterVerified = voterVerified;
		setDestinationURI(msg.getSenderURI());
	}

	public Boolean getVoterVerified() {
		return voterVerified;
	}
}
